.wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 500px;
  background: url('~src/pages/login/image/login-bg.jpg');
  background-size: 100%;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
}

.formWrap {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(0, 0, 0, 0.87);
  width: 350px;
  padding-bottom: 40px;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%), 0 1px 5px 0 rgb(0 0 0 / 12%);
  transition: all 300ms linear;
  border-radius: 6px;
}

.formHead {
  height: 100px;
  margin-top: -40px;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 30px;
  color: #fff;
  background: linear-gradient(60deg, #39959d, #5651bf);
  box-shadow: 0 12px 20px -10px rgba(62, 175, 139, 0.68), 0 4px 20px 0px rgb(0 0 0 / 12%), 0 7px 8px -5px rgba(23, 77, 130, 0.2);
  border-radius: 3px;
}

.formHeadText {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  text-align: center;
}

.formCntWrap {
  margin-top: 10px;
  padding: 15px 20px;
}

.item {
  margin-top: 40px;

  :global(.ant-input-affix-wrapper) {
    border: 0;
    border-bottom: 1px solid #D2D2D2;
  }

  :global(.ant-input) {
    &:-webkit-autofill {
      background-color: #fff !important;
      color: red !important;
    }
  }

}

.error {
  margin-bottom: -20px;
  font-size: 14px;
  color: #ff4d4f;
}
